#include "TestClassComplex.h"
#include <sstream>
#include <windows.h>



OOP_DEF_COMMON (TestClassComplex);



TestClassComplex::TestClassComplex ()
{

}



TestClassComplex::TestClassComplex (P_TestClassNotObject p_b) :
p_a (NEWOBJ_NONAME (TestClassA)),
p_b (p_b)
{
	std::ostringstream sout;
	sout << "0x" << this << ": TestClassComplex (p_b)" << std::endl;
	OutputDebugStringA (sout.str ().c_str ());
}



TestClassComplex::~TestClassComplex ()
{
	std::ostringstream sout;
	sout << "0x" << this << ": ~TestClassComplex ()" << std::endl;
	OutputDebugStringA (sout.str ().c_str ());
}
